package com.tmc.bean.inthotel;

public class TouricoResult {

	private Integer sts;
	private String  msg;
	private Object data;
	
	public TouricoResult(){
		
	}
	
	public TouricoResult(Integer sts, String msg, Object data) {
		super();
		this.sts = sts;
		this.msg = msg;
		this.data = data;
	}
	
	public void makeSuccess(String msg,Object data){
		this.sts = 1;
		this.data = data;
	}
	
	public void makeFail(String msg){
		this.sts = 0;
		this.msg = msg;
	}
	
	public Integer getSts() {
		return sts;
	}
	public void setSts(Integer sts) {
		this.sts = sts;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	
	
}
